/**
 * 
 */
package com.xpec.c4.game.login.async2;

import com.ms.service.module.account.Account;
import com.ms.service.module.account.db.AccountDAO;
import com.xpec.c4.service.module.task.TaskAsyncCommand;

/**
 * 異步處理, 創角後更新 account 資料
 * 
 * @author TW15010
 */
public class UpdateAccountForCreateCharacterAsync extends TaskAsyncCommand {
	private Account updateAccount;

	@Override
	public void asyncExecute() throws Exception {
		AccountDAO.updateAccountForCreateCharacter(updateAccount);
	}

	@Override
	public void execute() throws Exception {
	}

	public Account getUpdateAccount() {
		return updateAccount;
	}

	public void setUpdateAccount(Account updateAccount) {
		this.updateAccount = updateAccount;
	}
}
